package com.wenhuitec.android.tang.sysui.view;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.RelativeLayout;
import android.widget.TextView;

import androidx.recyclerview.widget.RecyclerView;

import com.wenhuitec.android.tang.R;

public class SelectButton extends RelativeLayout {

    private Context mContext;
    private TextView contextTv;

    public SelectButton(Context context) {
        super(context);
        LayoutInflater.from(context).inflate(R.layout.view_select_button, this);
        mContext = context;
        contextTv = findViewById(R.id.contextTv);
    }

    public void setText(String text) {
        contextTv.setText(text);
    }

}
